<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/save/paige}" method="post">
    佩奇id：<input type="text" name="paigeId" th:value="${paige.paigeId}"> <br>
    佩奇name：<input type="text" name="paigeId" th:value="${paige.paigeName}"> <br>
    佩奇最喜欢的季节：<br>
    <input type="radio"
           th:each="season : ${seasonList}"
           th:value="${season.submitValue}"
           th:text="${season.showForUserValue}"
           th:checked="${season.submitValue == paige.season.submitValue}"
    />
    <br>
    <select name="season.submitValue">
        <option th:each="season : ${seasonList}"
                th:value="${season.submitValue}"
                th:text="${season.showForUserValue}"
                th:selected="${season.submitValue == paige.season.submitValue}"/>
    </select>
</form>
</body>
</html>